﻿using System;
using System.Xml.Linq;
using Geotools.Geometries;
namespace AzukiMap.MapSource
{
    public interface IMapSource
    {
        bool Compare(MapSource other);
        AzukiMap.CoordinationUnits CoordUnit { get; }
        GTEnvelope MaxExtent { get; }
        string Name { get; }
        int Srid { get; }
        double MaxScale { get;  }
        double MinScale { get; }
        MapSourceTypes Type { get; }

        XElement ToXml();
        void Parse(XElement xmlElement);
    }
}
